package com.lagou.homework.stage2.no3;

/**
 * 抽象套餐类
 */
public abstract class Package {

    private double rates; // 每月资费

    /**
     * 无参构造方法
     */
    public Package() {
    }

    /**
     * 有参构造方法
     * @param rates
     */
    public Package(double rates) {
        this.rates = rates;
    }

    public double getRates() {
        return rates;
    }
    public void setRates(double rates) {
        this.rates = rates;
    }

    /**
     * 抽象方法，显示所有套餐信息
     */
    public abstract void show();
}
